<?php

class sfWidgetFormSelectCheckboxAoi
{
  static function formatter($widget, $inputs)
  {

    $rows = array();
    foreach ($inputs as $input)
    {
      $rows[] = $input['input'].' '.$input['label'];
    }

    return $widget->renderContentTag('span', implode('<br/>', $rows), array('class' => 'checkwrapper'));
  }
}